package com.party.core.dao.read.commune;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.commune.CMemberIntegralBalanceLog;
import com.party.core.model.commune.IntegralItemInfoOutput;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @ClassName TjMemberIntegralReadDao
 * @Description
 * @Author shenliuhai
 * @Date 2020/4/15 17:21
 **/
@Repository
public interface CMemberIntegralBalanceLogReadDao extends BaseReadDao<CMemberIntegralBalanceLog> {

    List<Map<String, Object>> getIntegralSum(@Param("params") Map<String,Object> params);
    CMemberIntegralBalanceLog getBySourceId(@Param("sourceId") String sourceId);
    List<IntegralItemInfoOutput> getCMemberIntegralBalanceLogs(@Param("params")Map<String,Object> params, Page page);
}
